package com.stlm2.dems.recharge.dao;

import com.stlm2.dems.recharge.entity.Recharge;
import com.stlm2.core.base.BaseDao;

import java.util.List;

public interface RechargeDao extends BaseDao<Recharge> {

    Recharge getByCode(String code);

    Recharge getByIdForUpdate(Integer id);

    List<Recharge> getByUserId(Integer id);

    List<Recharge> getOverRechageByUserId(Integer userid);
}